package com.tsll.service;

import com.tsll.entity.Book;
import com.tsll.entity.Ebook;
import com.tsll.vo.EbookVo;
import com.tsll.vo.Result;

public interface EbookService {
    public Result getEbook();//获取全部电子图书
    public Result findByPage(Integer current, Integer pageSize, EbookVo ebookVo);//获取全部图书并分页显示
    public Result insert(Ebook ebook);//添加图书
    public Result update(Ebook ebook);//修改图书
    public Result delBook(Integer bookId);//删除图书
    public Result AllNewDate();//获取最新电子图书信息
}
